package ssd.dto;



/**
 * Created by 刘宇飞 on 2017/2/9.
 */
public class Role  {
    private String roleId;
    private String roleName;
    private String rmark;
    private String sts;
    private String systemId;
    private String type;
    private String typename;
    private String orgid;
    private String orgname;
    String sql="select * from emp where 1=1 ";

    public String getOrgid() {
        if(true){
            sql+="emp_id=?";
        }
        return orgid;
    }

    public void setOrgid(String orgid) {
        this.orgid = orgid;
    }

    public String getOrgname() {
        return orgname;
    }

    public void setOrgname(String orgname) {
        this.orgname = orgname;
    }

    public String getTypename() {
        return typename;

    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getRmark() {
        return rmark;
    }

    public void setRmark(String rmark) {
        this.rmark = rmark == null ? null : rmark.trim();
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public String getSystemId() {
        return systemId;
    }

    public void setSystemId(String systemId) {
        this.systemId = systemId;
    }

    public String getSts() {
        return sts;
    }

    public void setSts(String sts) {
        this.sts = sts == null ? null : sts.trim();
    }

    @Override
    public String toString() {
        return "Role{" +
                "roleId='" + roleId + '\'' +
                ", roleName='" + roleName + '\'' +
                ", rmark='" + rmark + '\'' +
                ", systemId='" + systemId + '\'' +
                ", type='" + type + '\'' +
                ", typename='" + typename + '\'' +
                ", orgid='" + orgid + '\'' +
                ", orgname='" + orgname + '\'' +
                ", sql='" + sql + '\'' +
                '}';
    }
}
